/**
 *  Custom Event
 *
 *  @author : jihuaizhi
 *  @Time   : 2010.04.22 21:08:10 CST
 *  @note   :
 */
package com.basestone.pdlmis.event
{
    import flash.events.Event;
    import flash.events.EventDispatcher;

    public class CustomEvent extends Event
    {
        public static const EVENT_NAME:String="event_name";

        public static const dispatcher:EventDispatcher=new EventDispatcher();

        public var data:Object;

        public function CustomEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false, data:Object=null)
        {
            super(type, bubbles, cancelable);
            this.data=data;
        }

        override public function clone():Event
        {
            return new CustomEvent(type, bubbles, cancelable, data);
        }
    }
}
